package com.yixin.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.bo.PageInfo;
import com.yixin.hospital.entity.domain.GodownExchangeDrug;
import com.yixin.hospital.entity.dto.req.purchaseorder.GoDownExchangeDrugReqDTO;
import com.yixin.hospital.entity.dto.req.purchaseorder.GoDownExchangeDrugStatusReqDTO;
import com.yixin.hospital.entity.vo.GoDownExchangeDrugVo;

import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;

/**
* @author Administrator
* @description 针对表【godown_exchange_drug(调库药品表)】的数据库操作Service
* @createDate 2024-08-31 16:58:41
*/
public interface GodownExchangeDrugService extends IService<GodownExchangeDrug> {

    ApiResult<?> allList(HttpServletRequest request, int currentPage, int pageSize);

    ApiResult<?> listInfo(String code);

    ApiResult<?> goDownExchangeDrug(@Valid GoDownExchangeDrugReqDTO goDownDrugReqDTO, String userName);

    ApiResult<?> goDownExchangeDrugStatus(@Valid GoDownExchangeDrugStatusReqDTO goDownExchangeDrugStatusReqDTO, String userName);
}
